package com.epfresh.bean;

public class DcAddCartCount {
    private String categoryType;
    private double categoryCnt;
    private String topCategoryId;
    private double productCnt;
    private double shoppingCarCnt;
    private String id;
    private String categoryId;
    private double topCategoryCnt;

    public String getCategoryType() {
        return categoryType;
    }

    public void setCategoryType(String categoryType) {
        this.categoryType = categoryType;
    }

    public double getCategoryCnt() {
        return categoryCnt;
    }

    public void setCategoryCnt(double categoryCnt) {
        this.categoryCnt = categoryCnt;
    }

    public String getTopCategoryId() {
        return topCategoryId;
    }

    public void setTopCategoryId(String topCategoryId) {
        this.topCategoryId = topCategoryId;
    }

    public double getProductCnt() {
        return productCnt;
    }

    public void setProductCnt(double productCnt) {
        this.productCnt = productCnt;
    }

    public double getshoppingCarCnt() {
        return shoppingCarCnt;
    }

    public void setshoppingCarCnt(double shoppingCarCnt) {
        this.shoppingCarCnt = shoppingCarCnt;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public double getTopCategoryCnt() {
        return topCategoryCnt;
    }

    public void setTopCategoryCnt(double topCategoryCnt) {
        this.topCategoryCnt = topCategoryCnt;
    }

    public String getSecondCategory(){
        if (categoryId == null || categoryType == null || "".equals(categoryId)){
            return null;
        }
        return categoryId +"|"+categoryType;
    }
}
